package com.bt.table.ppt;

/**
 * Ret_prd_qsId entity. @author MyEclipse Persistence Tools
 */

public class Ret_prd_qsId implements java.io.Serializable {

	// Fields

	private String prd_seq_id_fk;
	private String path_id_fk;
	private String path_ver_fk;
	private String ope_no_fk;
	private String ope_id_fk;
	private String ope_ver_fk;
	private String qrs_id_fk;

	// Constructors

	/** default constructor */
	public Ret_prd_qsId() {
	}

	/** full constructor */
	public Ret_prd_qsId(String prd_seq_id_fk, String path_id_fk,
			String path_ver_fk, String ope_no_fk, String ope_id_fk,
			String ope_ver_fk, String qrs_id_fk) {
		this.prd_seq_id_fk = prd_seq_id_fk;
		this.path_id_fk = path_id_fk;
		this.path_ver_fk = path_ver_fk;
		this.ope_no_fk = ope_no_fk;
		this.ope_id_fk = ope_id_fk;
		this.ope_ver_fk = ope_ver_fk;
		this.qrs_id_fk = qrs_id_fk;
	}

	// Property accessors

	public String getPrd_seq_id_fk() {
		return this.prd_seq_id_fk;
	}

	public void setPrd_seq_id_fk(String prd_seq_id_fk) {
		this.prd_seq_id_fk = prd_seq_id_fk;
	}

	public String getPath_id_fk() {
		return this.path_id_fk;
	}

	public void setPath_id_fk(String path_id_fk) {
		this.path_id_fk = path_id_fk;
	}

	public String getPath_ver_fk() {
		return this.path_ver_fk;
	}

	public void setPath_ver_fk(String path_ver_fk) {
		this.path_ver_fk = path_ver_fk;
	}

	public String getOpe_no_fk() {
		return this.ope_no_fk;
	}

	public void setOpe_no_fk(String ope_no_fk) {
		this.ope_no_fk = ope_no_fk;
	}

	public String getOpe_id_fk() {
		return this.ope_id_fk;
	}

	public void setOpe_id_fk(String ope_id_fk) {
		this.ope_id_fk = ope_id_fk;
	}

	public String getOpe_ver_fk() {
		return this.ope_ver_fk;
	}

	public void setOpe_ver_fk(String ope_ver_fk) {
		this.ope_ver_fk = ope_ver_fk;
	}

	public String getQrs_id_fk() {
		return this.qrs_id_fk;
	}

	public void setQrs_id_fk(String qrs_id_fk) {
		this.qrs_id_fk = qrs_id_fk;
	}

	public boolean equals(Object other) {
		if ((this == other))
			return true;
		if ((other == null))
			return false;
		if (!(other instanceof Ret_prd_qsId))
			return false;
		Ret_prd_qsId castOther = (Ret_prd_qsId) other;

		return ((this.getPrd_seq_id_fk() == castOther.getPrd_seq_id_fk()) || (this
				.getPrd_seq_id_fk() != null
				&& castOther.getPrd_seq_id_fk() != null && this
				.getPrd_seq_id_fk().equals(castOther.getPrd_seq_id_fk())))
				&& ((this.getPath_id_fk() == castOther.getPath_id_fk()) || (this
						.getPath_id_fk() != null
						&& castOther.getPath_id_fk() != null && this
						.getPath_id_fk().equals(castOther.getPath_id_fk())))
				&& ((this.getPath_ver_fk() == castOther.getPath_ver_fk()) || (this
						.getPath_ver_fk() != null
						&& castOther.getPath_ver_fk() != null && this
						.getPath_ver_fk().equals(castOther.getPath_ver_fk())))
				&& ((this.getOpe_no_fk() == castOther.getOpe_no_fk()) || (this
						.getOpe_no_fk() != null
						&& castOther.getOpe_no_fk() != null && this
						.getOpe_no_fk().equals(castOther.getOpe_no_fk())))
				&& ((this.getOpe_id_fk() == castOther.getOpe_id_fk()) || (this
						.getOpe_id_fk() != null
						&& castOther.getOpe_id_fk() != null && this
						.getOpe_id_fk().equals(castOther.getOpe_id_fk())))
				&& ((this.getOpe_ver_fk() == castOther.getOpe_ver_fk()) || (this
						.getOpe_ver_fk() != null
						&& castOther.getOpe_ver_fk() != null && this
						.getOpe_ver_fk().equals(castOther.getOpe_ver_fk())))
				&& ((this.getQrs_id_fk() == castOther.getQrs_id_fk()) || (this
						.getQrs_id_fk() != null
						&& castOther.getQrs_id_fk() != null && this
						.getQrs_id_fk().equals(castOther.getQrs_id_fk())));
	}

	public int hashCode() {
		int result = 17;

		result = 37
				* result
				+ (getPrd_seq_id_fk() == null ? 0 : this.getPrd_seq_id_fk()
						.hashCode());
		result = 37
				* result
				+ (getPath_id_fk() == null ? 0 : this.getPath_id_fk()
						.hashCode());
		result = 37
				* result
				+ (getPath_ver_fk() == null ? 0 : this.getPath_ver_fk()
						.hashCode());
		result = 37 * result
				+ (getOpe_no_fk() == null ? 0 : this.getOpe_no_fk().hashCode());
		result = 37 * result
				+ (getOpe_id_fk() == null ? 0 : this.getOpe_id_fk().hashCode());
		result = 37
				* result
				+ (getOpe_ver_fk() == null ? 0 : this.getOpe_ver_fk()
						.hashCode());
		result = 37 * result
				+ (getQrs_id_fk() == null ? 0 : this.getQrs_id_fk().hashCode());
		return result;
	}

}